import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const state={
  percent: 0,
  excel: 0
}
const store=new Vuex.Store({
  state,
  mutations:{
    setNext(state,percent){
      state.percent=percent
    },
    setExcel(state,excel){
      state.excel=excel
    }
  }
})

export default store